RenderTarget Class
Description:
A class for creating RenderTarget objects.
__call
Type: Metamethod.
Description:
Creates a new RenderTarget object with the given width and height.
Signature:
metamethod __call: function(self: RenderTargetClass, width: integer, height: integer): RenderTarget
Parameters:
Parameter | Type | Description |
---|---|---|
width | integer | The width of the render target. |
height | integer | The height of the render target. |
Returns:
Return Type | Description |
---|---|
RenderTarget | The created render target. |